package com.day12.homework;

public class ConsumerOut implements Runnable {
    private AtmoBase ab;

    public ConsumerOut(AtmoBase ab) {
        super();
        this.ab = ab;
    }

    @Override
    public void run() {
        for (int i = 0; i < 100; i++) {
            ab.get();
        }
    }
}
